package org.liufeng.serch.manager;

import java.util.List;
import java.util.Map;

import org.liufeng.serch.dao.ReservoirMapper;
import org.liufeng.serch.entity.Reservoir;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;



@Service      //依赖注入
@Transactional   //事物
public class ReservoirManager {
	@Autowired
	private ReservoirMapper reserDao;
	public List<Reservoir> getReser(Map<String, Object> filterMap) {
		return reserDao.findByPageByMap(filterMap);
	}
	
}
